﻿using UnityEngine;
using System.Collections;

public class CloudController : MonoBehaviour {

	public float moveTime;
	public float xMoveTo;
	// Use this for initialization
	void Start () {
		moveCloud ();
	}
	
	// Update is called once per frame
	void Update () {
	
	}

	private void moveCloud () {
		LeanTween.moveLocalX (gameObject,xMoveTo,moveTime).setEase(LeanTweenType.linear).setLoopClamp().setLoopCount(999);
	}
}
